package com.sakiko.ioc_03.impl;

import com.sakiko.ioc_03.UserDao;
import org.springframework.stereotype.Repository;

@Repository() // 如果 value起相同的名: ConflictingBeanDefinitionException
public class UserDaoImpl2 implements UserDao {
    @Override
    public void query() {
        System.out.println("query2...");
    }
}
